﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MultipleDB.Entitys
{
    /// <summary>
    /// AGV 站位表
    /// </summary>
    [Tenant("3")]//对应ConfigId
    public class AGVStation
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// AGV站点名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 发科点1D
        /// </summary>
        public string OutStationId { get; set; }

        /// <summary>
        /// 接料点ID
        /// </summary>
        public string InStationId { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 0 停用 默认=1 启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        /// 
        [SugarColumn(InsertServerTime = true)]  //插入用数据库时间
        public System.DateTime CreateTime { get; set; }
    }
}
